package cn.tedu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Long id;
    //哪个用户
    private Long userId;
    //购买哪个商品
    private Long productId;
    //卖多少件
    private Integer count;
    //花多少钱
    private BigDecimal money;
    //0-冻结状态  1-正常状态
    private Integer status;
}
